package com.gasstation

import java.util.Date

class GasStation {

	String name
	String location
	String state
	String country
	GasSales gasInventory
	// Automatically updated by GORM
	Date dateCreated
	// Automatically updated by GORM
	Date lastUpdated

	static constraints = {
		name(blank:false, nullable:false, size:1..150)
		location(blank:false, nullable:false, size:1..150)
		state(blank:false, nullable:false, size:1..150)
		country(blank:false, nullable:false, size:1..150)
	}
	String toString() {
		return "$name, $location, $state"
	}
}
